Skip to content

Conversation

@starius
Copy link
Collaborator

@starius starius commented Apr 4, 2025

Verify the number of positional arguments if they were provided to crash in such scenarios:

$ loop out 250000 --xxx
$ loop in 250000 1000

These commands used to work ignoring the last argument.

Pull Request Checklist

  • Update release_notes.md if your PR contains major features, breaking changes or bugfixes

Verify the number of positional arguments if they were provided to crash in
such scenarios:
$ loop out 250000 --xxx
$ loop in 250000 1000
These commands used to work ignoring the last argument.
@starius starius marked this pull request as ready for review April 4, 2025 21:15
@starius starius requested review from bhandras, hieblmi and sputn1ck April 4, 2025 21:16
Copy link
Member

@bhandras bhandras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! LGTM 🎉

@starius starius merged commit ec2bf44 into lightninglabs:master Apr 5, 2025
4 checks passed
@starius starius deleted the loop-cli-prevent-unknown-flags branch April 5, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants